home *** CD-ROM | disk | FTP | other *** search
- /* IF_THEN_ELSEIF_ELSE construct */
-
- #define IF(e) { if(e) /* if statment */
- #define THEN { { /* then statment */
- #define ELSEIF(c) } else if (e) { /* elseif statment */
- #define ELSE } else { /* else statment */
- #define ENDIF ;}} /* end of if statment */
-
- /* CASE construct */
-
- #define CASE(e) { switch (e) { /* head of case */
- #define CASEOF(e) case e : { /* case block */
- #define DEFCASE default : { /* default case block */
- #define ENDCOF } BREAK ; /* end of case block */
- #define ENDCASE }} /* end of case */
-
- /* WHILE construct */
-
- #define WHILE(e) { while (e) { /* while statment */
- #define ENDW ;}} /* end of while statment */
-
- /* FOR construct */
-
- #define FOR(e) { for (e) { /* for statment */
- #define ENDF ;}} /* end of for statment */
-
- /* BEGIN_END construct */
-
- #define BEGIN { /* beginning of block */
- #define END } /* end of block */
-
-